﻿/**************************************************************

项目名称 :ThinkWide界面接口基础库
版权所有 (c) 2010 ThinkWide
+-------------------------------------------------------------
项目: 界面接口基础库


版本: 1


创建日期:2010-9-15


作者: 章称

+-------------------------------------------------------------
描述:

更新:  

ToDo:

***************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MF.UI.Interface
{
    public enum MFButtonType { 
        mbtNone=0, 
        mbtAdd, 
        mbtDelete, 
        mbtEdit, 
        mbtSearch, 
        mbtCopy,
        mbtSave,
        mbtSaveAdd, 
        mbtPrint, 
        mbtPreview,
        mbtClose,
        mbtAuditing,
        mbtCustom
    }

    public interface IMFComponentBase
    {
    }
    
    public interface IMFControlBase
    {
        string Name { get; set; }
        int Height { get; set; }
        int Width { get; set; }
        int Left { get; set; }
        int Top { get; set; }
        
        Boolean Visible { get; set; }
        Boolean Enabled { get; set; }
        int TabIndex { get; set; }
    }

    public interface IMFControlTextBase : IMFControlBase
    {
        string Text { get; set; }

    }

    public interface IMFButtonBase : IMFControlTextBase
    {
        event EventHandler Click;

    }

    public interface IMFButton : IMFButtonBase
    {
        MFButtonType ButtonType { get; set; }
    }

    public interface IMFAdvButton : IMFButton
    {

    }

    public interface IMFCustomButton : IMFButton
    {

    }

    public interface IMFCheckButton : IMFControlTextBase
    {
        Boolean Checked { get; set; }
    }

    public interface IMFLabelControl : IMFControlTextBase
    {

    }


    public interface IMFRadioGroup : IMFControlBase
    {

    }

    
}
